﻿<Window x:Class="PowerSong.UserInterface.ReportWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Reporting" Height="539" Width="724" Icon="/PowerSong;component/Icons/BlackIcon.ico"
        WindowStartupLocation="CenterScreen" xmlns:my="clr-namespace:PowerSong.UserInterface" Loaded="Window_Loaded">
    <Grid>
        <Grid Margin="0,74,0,48" Background="#42000000">
            <DataGrid AutoGenerateColumns="True" Margin="12,6,6,6" Name="ReportGrid" Visibility="Collapsed" IsReadOnly="True" />
            <TextBox Margin="12,6,6,6" Name="RawReportTextBox" Visibility="Collapsed" IsReadOnlyCaretVisible="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" AcceptsReturn="True" FontFamily="Consolas" FontSize="11" />
        </Grid>
        <DatePicker Height="25" HorizontalAlignment="Left" Margin="74,12,0,0" Name="StartDatePicker" VerticalAlignment="Top" Width="115" />
        <TextBlock HorizontalAlignment="Left" Margin="12,16,0,0" Text="Start Date:" VerticalAlignment="Top" />
        <DatePicker Height="25" HorizontalAlignment="Left" Margin="74,43,0,0" Name="EndDatePicker" VerticalAlignment="Top" Width="115" />
        <TextBlock HorizontalAlignment="Left" Margin="12,47,0,0" Text="End Date:" VerticalAlignment="Top" />
        <RadioButton Content="Raw Data" Height="16" HorizontalAlignment="Right" Margin="0,52,175,0" Name="RawDataRadioButton" VerticalAlignment="Top" IsChecked="True" />
        <RadioButton Content="Song Usage" Height="16" HorizontalAlignment="Right" Margin="0,52,90,0" Name="SongUsageRadioButton" VerticalAlignment="Top" />
        <my:WrapButton Height="66" HorizontalAlignment="Right" Margin="0,4,4,0" x:Name="GenerateReportButton" VerticalAlignment="Top" Width="72" FontWeight="Bold" ButtonText="Generate Report" IsDefault="True" Click="GenerateReportButton_Click" />
        <TextBlock HorizontalAlignment="Left" Margin="12,0,0,15" Text="File Name:" VerticalAlignment="Bottom" />
        <my:SaveFileControl Margin="74,0,106,12" x:Name="ExportFileControl" VerticalAlignment="Bottom" />
        <my:WrapButton ButtonText="Export Data" FontWeight="Bold" Height="41" HorizontalAlignment="Right" Margin="0,0,4,4" x:Name="ExportButton" VerticalAlignment="Bottom" Width="72" Click="ExportButton_Click" />
    </Grid>
</Window>
